package fhv.itb.ec.book;

import java.io.Serializable;

public class BookEntry implements Serializable {
	
	String m_title;
	String m_isbn;
	String m_publisher;
	String m_authors;
	
	public BookEntry() {
		
	}

	public String getTitle() {
		return m_title;
	}

	public String getIsbn() {
		return m_isbn;
	}

	public String getPublisher() {
		return m_publisher;
	}

	public String getAuthors() {
		return m_authors;
	}

	public void setTitle(String title) {
		if (title != null) {
			this.m_title = title;
		} else {
			this.m_title = "-";
		}
	}

	public void setIsbn(String isbn) {
		if (isbn != null) {
			this.m_isbn = isbn;
		} else {
			this.m_isbn = "-";
		}
	}

	public void setPublisher(String publisher) {
		if (publisher != null) {
			this.m_publisher = publisher;
		} else {
			this.m_publisher = "-";
		}
	}

	public void setAuthors(String authors) {
		
		if (authors != null) {
			this.m_authors = authors;
		} else {
			this.m_authors = "-";
		}
		
	}
	
	
	

}
